home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 007 / hddstrp2.arc / HDSTRP.DOC < prev   
Text File  |  1986-09-15  |  4KB  |  106 lines

  1.  
  2.  
  3. HEADERSTRIP v.2.0 Copyright (C) 1985 Conrad S. Kageyama, 26 October 1985
  4.  
  5. Not for commercial use or commercial gain.  Intended solely for use in the
  6. public domain.
  7.  
  8.  
  9.  
  10. PROLOGUE:
  11.  
  12. When a hard drive is backed up using DOS's BACKUP.COM, the resulting files on
  13. the backup diskettes are unusable because DOS attaches a 128 byte header to
  14. the front of each file, which tells BACKUP/RESTORE where the file belongs on
  15. the hard disk.  It was recently pointed out that even if you are backed up
  16. religiously, if your hard disk fails, then you are still down for the
  17. duration since those files are useless as is.
  18.  
  19. The result of this comment is HEADERSTRIP (HDRSTRIP.COM), which will strip
  20. out that 128 byte header and write the file back to disk in usable form.
  21. There seemed to be some interest in Version 1.0 so I have gone ahead and
  22. added a little more functionality in this Version 2.0.  It is more
  23. straightforward with no pre-use manipulation.  I think you'll like it better
  24. than my original offering.
  25.  
  26. As with all public domain software, there are no guarantees, implied or
  27. otherwise.  Work **ONLY** with copies of your backup files.  Use HEADERSTRIP
  28. at your own risk.
  29.  
  30.  
  31. INSTRUCTIONS:
  32.  
  33.     1.  COPY the needed file from your backup diskette to another diskette.
  34.  
  35.  
  36.              **DO NOT** work with your original backup diskette.
  37.  
  38.  
  39.     2.  Invoke HEADERSTRIP by doing HDRSTRIP <enter> at the DOS prompt.
  40.  
  41.     3.  HEADERSTRIP will now ask you for the "File to be Processed".
  42.         Respond with "d:filename.ext" (omit the quotes), where "d:" is the
  43.         drive designator.  If no drive designator is given, then HEADERSTRIP
  44.         will assume the current drive.
  45.  
  46.     4.  HEADERSTRIP will now query you for the "Output Drive".  Respond with
  47.         your desired target drive.  If no drive is designated, then
  48.         HEADERSTRIP will assume the current drive.
  49.  
  50.     5.  HEADERSTRIP will now process the input file, strip out the 128 byte
  51.         DOS backup header, and write the file back to disk.  The resultant
  52.         output file is now usable.
  53.  
  54.     6.  Please note that the original input file has been deleted.
  55.         Therefore, again, ** DO NOT USE THE ORIGINAL BACKUP DISKETTE **.
  56.         Work ** ONLY ** on a copy of the original backup files.  The actual
  57.         sequence of events is:
  58.  
  59.         A.  Input filename is recorded.
  60.  
  61.         B.  Input filename is RENamed to TEMPFILE.TEM.
  62.  
  63.         C.  TEMPFILE.TEM is then processed and written back out to disk with
  64.             the original filename.
  65.  
  66.         D.  TEMPFILE.TEM is then ERASEd for the next usage.
  67.  
  68.     7.  The resultant output file may differ in filesize from the original
  69.         file on the hard drive depending on how the end of file is handled in
  70.         the original, and due to padding at the end of the file, but the
  71.         output file should be functionally okay.
  72.  
  73.     8.  Special instructions for processing files that are split between two
  74.         diskettes.
  75.  
  76.         A.  As an example, assume that FILE.COM is split between Backup Disk
  77.             #1 and Backup Disk #2.
  78.  
  79.         B.  Copy the FILE.COM segment from Backup Disk #1 to another diskette
  80.             with a different filename, i.e., COPY A:FILE.COM d:FILE1.COM,
  81.             where d: is the target drive.
  82.  
  83.         C.  Copy the FILE.COM segment from Backup Disk #2 to another diskette
  84.             with a different filename, i.e., COPY A:FILE.COM d:FILE2.COM,
  85.             where d: is the target drive.
  86.  
  87.         D.  Use HEADERSTRIP to process FILE2.COM, thus stripping out the 128
  88.             byte header from FILE2.COM.
  89.  
  90.         E.  Now concantenate FILE1.COM and the processed FILE2.COM using the
  91.             syntax:  COPY d:FILE1.COM /B + d:FILE2.COM d:FILE.COM, where the
  92.             d:'s are the respective drives.  Please note the /B switch; this
  93.             switch *must* be applied for this procedure to work.  The /B
  94.             switch is discussed in the DOS manual under the COPY command
  95.             heading.
  96.  
  97.         F.  Use HEADERSTRIP to process the newly formed FILE.COM.  Your file
  98.             is now intact and ready for use.
  99.  
  100.  
  101. Enjoy!!!...
  102.  
  103. Conrad S. Kageyama
  104. Sysop, CIS IBM PC SIG
  105. CIS 76703,1010
  106.